package com.xc.shopping_font.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.xc.shopping_font.entity.Banner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BannerMapper extends BaseMapper<Banner> {

    @Select("select pic_one,pic_two,pic_three,pic_four from banner where id = #{i}")
    Banner selectpicById(@Param("i")Long i);
}
